package com.ytjj.qmyx.users.model;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
public class UsersInfo implements Serializable {
    /**
     * 用户id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 性别 0 男 1女
     *
     * @mbg.generated
     */
    private Integer sex;

    /**
     * 邮箱
     *
     * @mbg.generated
     */
    private String email;

    /**
     * 头像
     *
     * @mbg.generated
     */
    private String headImg;

    /**
     * 会员等级 1 普通会员
     *
     * @mbg.generated
     */
    private Byte memberLevel;

    /**
     * 积分
     *
     * @mbg.generated
     */
    private Integer score;

    /**
     * 消费总积分
     *
     * @mbg.generated
     */
    private Integer totalScore;

    /**
     * 帐号余额
     *
     * @mbg.generated
     */
    private BigDecimal money;

    /**
     * 冻结余额
     *
     * @mbg.generated
     */
    private BigDecimal lockMoney;

    /**
     * 账号总积累余额
     *
     * @mbg.generated
     */
    private BigDecimal totalMoney;

    /**
     * 积累佣金
     *
     * @mbg.generated
     */
    private BigDecimal brokerageNum;

    /**
     * 关注总数
     *
     * @mbg.generated
     */
    private Integer follow;

    private String ageStr;

    /**
     * 粉丝总数
     *
     * @mbg.generated
     */
    private Integer fans;

    /**
     * 渠道名字
     *
     * @mbg.generated
     */
    private String channel;

    /**
     * 邀请人
     *
     * @mbg.generated
     */
    private Integer inviterId;

    /**
     * 是否会员1:vip会员，0：不是vip会员
     *
     * @mbg.generated
     */
    private Byte isVip;

    /**
     * 获赞数
     *
     * @mbg.generated
     */
    private Integer praise;

    /**
     * 作品总数
     *
     * @mbg.generated
     */
    private Integer dynamicSum;

    /**
     * 分享成为vip数量
     *
     * @mbg.generated
     */
    private Integer vipSum;

    /**
     * 分享vip所得总佣金
     *
     * @mbg.generated
     */
    private Integer vipMoney;

    /**
     * 是否开通直播权限0否 1是
     *
     * @mbg.generated
     */
    private Byte isOpenLive;

    /**
     * 是否为假用户 0否 1是
     *
     * @mbg.generated
     */
    private Byte isZombie;

    /**
     * 注册时间
     *
     * @mbg.generated
     */
    private Date registerTime;

    /**
     * 注册ip
     *
     * @mbg.generated
     */
    private String registerIp;

    /**
     * 用户签名
     *
     * @mbg.generated
     */
    private String userSignature;

    /**
     * 用户描述
     *
     * @mbg.generated
     */
    private String userDesc;

    /**
     * 用户背景图
     *
     * @mbg.generated
     */
    private String bgImg;

    /**
     * 是否填写标签标识 0->未填写 1->填写
     *
     * @mbg.generated
     */
    private Byte labelFillFlag;

    /**
     * 严选背景
     *
     * @mbg.generated
     */
    private String electionBackground;

    /**
     * 作品数量
     *
     * @mbg.generated
     */
    private Integer productNum;

    /**
     * 是否优质严选官(0:否，1：是)
     *
     * @mbg.generated
     */
    private Integer isQuality;

    /**
     * 临时积分
     *
     * @mbg.generated
     */
    private Integer temporarySore;

    /**
     * 临时积分有效时间
     *
     * @mbg.generated
     */
    private Date temporarySoreTime;

    /**
     * 用户标签
     *
     * @mbg.generated
     */
    private String labelText;

    /**
     * 补签次数
     */
    private Integer retroactiveCard;
    /**
     * 任务积分
     */
    private Integer taskScore;

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", sex=").append(sex);
        sb.append(", email=").append(email);
        sb.append(", headImg=").append(headImg);
        sb.append(", memberLevel=").append(memberLevel);
        sb.append(", score=").append(score);
        sb.append(", totalScore=").append(totalScore);
        sb.append(", money=").append(money);
        sb.append(", lockMoney=").append(lockMoney);
        sb.append(", totalMoney=").append(totalMoney);
        sb.append(", brokerageNum=").append(brokerageNum);
        sb.append(", follow=").append(follow);
        sb.append(", ageStr=").append(ageStr);
        sb.append(", fans=").append(fans);
        sb.append(", channel=").append(channel);
        sb.append(", inviterId=").append(inviterId);
        sb.append(", isVip=").append(isVip);
        sb.append(", praise=").append(praise);
        sb.append(", dynamicSum=").append(dynamicSum);
        sb.append(", vipSum=").append(vipSum);
        sb.append(", vipMoney=").append(vipMoney);
        sb.append(", isOpenLive=").append(isOpenLive);
        sb.append(", isZombie=").append(isZombie);
        sb.append(", registerTime=").append(registerTime);
        sb.append(", registerIp=").append(registerIp);
        sb.append(", userSignature=").append(userSignature);
        sb.append(", userDesc=").append(userDesc);
        sb.append(", bgImg=").append(bgImg);
        sb.append(", labelFillFlag=").append(labelFillFlag);
        sb.append(", electionBackground=").append(electionBackground);
        sb.append(", productNum=").append(productNum);
        sb.append(", isQuality=").append(isQuality);
        sb.append(", temporarySore=").append(temporarySore);
        sb.append(", temporarySoreTime=").append(temporarySoreTime);
        sb.append(", labelText=").append(labelText);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append(", retroactiveCard=").append(retroactiveCard);
        sb.append(", taskScore=").append(taskScore);
        sb.append("]");
        return sb.toString();
    }
}
